package adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

import bean.TestPaperBean;
import student.andlei.com.student.R;

public class AnswerListAdapter extends BaseQuickAdapter<TestPaperBean.Question_options,BaseViewHolder>{
    public AnswerListAdapter(int layoutResId, @Nullable List<TestPaperBean.Question_options> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, TestPaperBean.Question_options item) {
        helper.setText(R.id.tv_xuanze,item.idx+"."+item.text);
    }
}
